// import 'amfe-flexible';
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false

//全局引入vant
// import Vant from 'vant';
// import 'vant/lib/index.css';
// Vue.use(Vant);

//全局引入element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 引入swiper样式
import '@/css/swiper.min.css';

//引入axios
import Axios from './service';
Vue.prototype.$http = Axios;

import echarts from 'echarts';
Vue.prototype.$echarts = echarts;

//全局引入公共配置
import Config from '@/public/config'
Vue.prototype.$config = Config;

//全局注册基础组件
import '@/components/base'

//全局注册公共常用filters
import '@/public/filters'

//rem 适配
import '@/public/rem'

//全局引入常用工具方法
import Util from '@/public/util'
Vue.prototype.$util = Util;

//钉钉jsapi
import dd from 'dingtalk-jsapi'
Vue.prototype.$ding = dd;
//全局
import config from './lib/config/config.js'
Vue.use(config);

window.vvvm=new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
